#include "stdafx.h"
#include "Game.h"
#include "IGameState.h"

Game* Game::s_pInstance = nullptr;

Game* Game::GetInstance()
{
	if (Game::s_pInstance == nullptr)
		s_pInstance = new Game();

	return Game::s_pInstance;
}

void Game::DeleteInstance()
{
	delete Game::s_pInstance;
	Game::s_pInstance = nullptr;
}

bool Game::Initialize(float w, float h)
{
	return true;
}
int	 Game::Update(void)
{
	return 0;
}
void Game::Terminate(void)
{

}

void Game::StateChange(IGameState* newState)
{

}
